package com.wd.live.module_live

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.wd.live.base.util.InfoUtil
import com.wd.live.module_base.ui.BaseFragment
import com.wd.live.module_live.databinding.FragmentLiveBinding
import com.wd.module_base.ui.BaseViewModel
import io.agora.rtc2.RtcEngine
import java.io.File

// TODO: Rename parameter arguments, choose names that match
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
private const val ARG_PARAM1 = "param1"
private const val ARG_PARAM2 = "param2"

/**
 * A simple [Fragment] subclass.
 * Use the [LiveFragment.newInstance] factory method to
 * create an instance of this fragment.
 */
class LiveFragment : BaseFragment<BaseViewModel,FragmentLiveBinding>() {
    // 填写项目的 App ID，可在声网控制台中生成
    private val appId = InfoUtil.appId

    private var mRtcEngine: RtcEngine? = null

    private var file: File? = null

    private var booleanPlay: Boolean = false

    val a:Int=1
    val q:Int=2
    val w:Int=2
    val e:Int=3
    val r:Int=3
    val t:Int=4
    val yLL:Int=3
    val s:Int=3
    val ss:Int=3
    val dd:Int=3
    val y:Int=3
    val ii:Int=3
    val oo:Int=3
    val ooo:Int=5




    override fun initData() {

    }

    override fun getViewModelClass(): Class<BaseViewModel> {
       return BaseViewModel::class.java
    }

    override fun getLayout(): Int {
        return R.layout.fragment_live
    }

}